From c4ded539e6bac98f1e27be30aa129afaaf77a8c0 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Wed, 15 Jul 2026 22:17:15 +0000 Subject: [PATCH] Create and document FERTILITY_STARTS --- db/schemas/codes/tables/Makefile | 1 + .../codes/tables/create/fertility_starts.m4 | 28 ++++++++++++ doc/src/code_tables.m4 | 43 +++++++++++++++++++ doc/src/epilog.inc.m4 | 4 ++ 4 files changed, 76 insertions(+) create mode 100644 db/schemas/codes/tables/create/fertility_starts.m4 diff --git a/db/schemas/codes/tables/Makefile b/db/schemas/codes/tables/Makefile index 7f0d679..20a11e0 100644 --- a/db/schemas/codes/tables/Makefile +++ b/db/schemas/codes/tables/Makefile @@ -31,6 +31,7 @@ ORDER := agg_severities \ departtypes \ ed_certainties \ entrytypes \ + fertility_starts \ food_names \ food_parts \ le_certainties \ diff --git a/db/schemas/codes/tables/create/fertility_starts.m4 b/db/schemas/codes/tables/create/fertility_starts.m4 new file mode 100644 index 0000000..1aa721d --- /dev/null +++ b/db/schemas/codes/tables/create/fertility_starts.m4 @@ -0,0 +1,28 @@ +dnl Copyright (C) 2026 The Meme Factory, Inc., http://www.karlpinc.com/ +dnl +dnl This program is free software: you can redistribute it and/or modify +dnl it under the terms of the GNU Affero General Public License as published +dnl by the Free Software Foundation, either version 3 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU Affero General Public License for more details. +dnl +dnl You should have received a copy of the GNU Affero General Public License +dnl along with this program. If not, see . +dnl +dnl Karl O. Pinc +dnl +dnl +dnl m4 includes +include(`copyright.m4')dnl +include(`constants.m4')dnl +include(`tablemacros.m4')dnl +include(`grants.m4')dnl +dnl + +support_table(`FERTILITY_STARTS', `Code', `TEXT', ` + emptytext_check(`Code')' +) diff --git a/doc/src/code_tables.m4 b/doc/src/code_tables.m4 index 0227202..126b188 100644 --- a/doc/src/code_tables.m4 +++ b/doc/src/code_tables.m4 @@ -688,6 +688,49 @@ Description |FOOD_PARTS.Description_summary| |uniquenocase| |emptytext| |notnull| +.. _FERTILITY_STARTS: + +FERTILITY_STARTS (FERTILITY START states) +----------------------------------------- + +.. |FERTILITY_STARTS_summary| replace:: + Contains one row for each fertility state a female can be in at the + start of a period of fertility. + +|FERTILITY_STARTS_summary| + + +Special Values +`````````````` + +None. + + +Column Descriptions +``````````````````` + +.. _FERTILITY_STARTS.Code: + +Code +'''' + +.. |FERTILITY_STARTS.Code_summary| replace:: + A code identifying a fertility state. + +|FERTILITY_STARTS.Code_summary| |keycol| |uppercase| + + +.. _FERTILITY_STARTS.Description: + +Description +''''''''''' + +.. |FERTILITY_STARTS.Description_summary| replace:: + A description of the code. + +|FERTILITY_STARTS.Description_summary| |emptytext| |notnull| + + .. _LE_CERTAINTIES: LE_CERTAINTIES (Lactation End CERTAINTIES) diff --git a/doc/src/epilog.inc.m4 b/doc/src/epilog.inc.m4 index 86f034a..b2caafc 100644 --- a/doc/src/epilog.inc.m4 +++ b/doc/src/epilog.inc.m4 @@ -408,6 +408,10 @@ sdb_generated_rst()dnl .. |EVENTS.Notes| replace:: :ref:`Notes ` +.. |FERTILITY_STARTS| replace:: :ref:`FERTILITY_STARTS ` +.. |FERTILITY_STARTS.Code| replace:: + :ref:`Code ` + .. |FOOD_EVENTS| replace:: :ref:`FOOD_EVENTS ` .. |FOOD_EVENTS.FEID| replace:: :ref:`FEID ` -- 2.34.1